import express from 'express';
import { DiningController } from '../controllers/diningController.js';

const router = express.Router();

router.get('/', DiningController.getAllMenuItems);
router.get('/nutrition-analysis', DiningController.getNutritionAnalysis);
router.post('/', DiningController.createMenuItem);
router.put('/:id', DiningController.updateMenuItem);

export default router;